Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't list sphinx as a requirement #43

Merged
merged 1 commit into from
Jun 5, 2019

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Jun 5, 2019

This can lead to modify a pinned sphinx version by the user.
Extensions shouldn't list Sphinx as requirement.

This can lead to modify a pinned sphinx version by the user.
Extensions shouldn't list Sphinx as requirement.
@stsewd
Copy link
Member Author

stsewd commented Jun 5, 2019

https://www.sphinx-doc.org/en/stable/extdev/appapi.html#checking-the-sphinx-version is used to give an error in case a minimal version of sphinx is required.

@stsewd stsewd requested a review from humitos June 5, 2019 17:55
@humitos
Copy link
Member

humitos commented Jun 5, 2019

The proper way is https://www.sphinx-doc.org/en/stable/extdev/appapi.html#sphinx.application.Sphinx.require_sphinx

But yeah, I think we can just remove the install_requires from the setup.

@humitos humitos merged commit 52962b0 into readthedocs:master Jun 5, 2019
@stsewd stsewd deleted the dont-list-sphinx-as-req branch June 5, 2019 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants